home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Shaders / RCShaders / RCShowST.sl < prev    next >
Encoding:
Text File  |  1995-03-22  |  208 b   |  12 lines

  1. /* Listing 16.11  Shader mapping texture-space coordinates to colors*/
  2. /*
  3.  * show_st(): color surface point according to its s,t coordinates.
  4. */
  5.  
  6. surface 
  7. RCShowST()
  8. {
  9.     Ci = color "rgb" (s, t, 0);
  10.     Oi = 1;
  11. }
  12.